<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      Zip-3.0
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.79.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-9.1">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 9.1
      </h4>
      <h3>
        Chapter&nbsp;12.&nbsp;System Utilities
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="which.html" title=
          "Which-2.21 and Alternatives">Prev</a>
          <p>
            Which-2.21 and Alternatives
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="prog.html" title="Programming">Next</a>
          <p>
            Programming
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="sysutils.html" title=
          "Chapter&nbsp;12.&nbsp;System Utilities">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="zip" name="zip"></a>Zip-3.0
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to Zip
        </h2>
        <p>
          The <span class="application">Zip</span> package contains
          <span class="application">Zip</span> utilities. These are useful
          for compressing files into <code class="filename">ZIP</code>
          archives.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://downloads.sourceforge.net/infozip/zip30.tar.gz">https://downloads.sourceforge.net/infozip/zip30.tar.gz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download (FTP): <a class="ulink" href=
                "ftp://ftp.info-zip.org/pub/infozip/src/zip30.tgz">ftp://ftp.info-zip.org/pub/infozip/src/zip30.tgz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 7b74551e63f8ee6aab6fbc86676c0d37
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 1.1 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 6.4 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 0.1 SBU
              </p>
            </li>
          </ul>
        </div>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/zip">http://wiki.linuxfromscratch.org/blfs/wiki/zip</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of Zip
        </h2>
        <p>
          Install <span class="application">Zip</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">make -f unix/Makefile generic_gcc</kbd>
</pre>
        <p>
          This package does not come with a test suite.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class=
"command">make prefix=/usr MANDIR=/usr/share/man/man1 -f unix/Makefile install</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <span class="command"><strong>make prefix=/usr -f unix/Makefile
          install</strong></span>: This command overrides the <code class=
          "varname">prefix</code> variable that is set to <code class=
          "filename">/usr/local</code> in the <code class=
          "filename">unix/Makefile</code>. Alternatives to <code class=
          "option">generic_gcc</code> can be seen with a <span class=
          "command"><strong>make -f unix/Makefile list</strong></span>
          command.
        </p>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">zip, zipcloak, zipnote, and
              zipsplit</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">None</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">None</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="zip-prog" name="zip-prog"></a><span class=
                    "term"><span class=
                    "command"><strong>zip</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    compresses files into a <code class="filename">ZIP</code>
                    archive.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="zipcloak" name="zipcloak"></a><span class=
                    "term"><span class=
                    "command"><strong>zipcloak</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a utility to encrypt and decrypt a <code class=
                    "filename">ZIP</code> archive.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="zipnote" name="zipnote"></a><span class=
                    "term"><span class=
                    "command"><strong>zipnote</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    reads or writes comments stored in a <code class=
                    "filename">ZIP</code> file.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="zipsplit" name="zipsplit"></a><span class=
                    "term"><span class=
                    "command"><strong>zipsplit</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a utility to split <code class="filename">ZIP</code>
                    files into smaller files.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-16 15:15:05 -0800
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="which.html" title=
          "Which-2.21 and Alternatives">Prev</a>
          <p>
            Which-2.21 and Alternatives
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="prog.html" title="Programming">Next</a>
          <p>
            Programming
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="sysutils.html" title=
          "Chapter&nbsp;12.&nbsp;System Utilities">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
